<template>
  <div id="app">
    <router-view />
    <van-tabbar route v-model="active" v-if="this.$route.path !== '/login'">
      <van-tabbar-item to="/home">
        <span>首页</span>
        <template #icon>
          <i class="iconfont icon-shouye"></i>
        </template>
      </van-tabbar-item>
      <van-tabbar-item to="/mine"
        ><span>我的</span>
        <template #icon> <i class="iconfont icon-wode"></i> </template
      ></van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "AppPage",
  components: {},
  props: {},
  data() {
    return {
      active: 0,
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style lang="less"></style>
